﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LoginControl.ascx.cs" Inherits="WebApplication.Controls.Security.LoginControl" %>

<%@ Register Assembly="System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    Namespace="System.Web.UI.WebControls" TagPrefix="asp" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<telerik:RadInputManager ID="RadInputManager1" runat="server" />
<telerik:RadTextBox ID="LoginRadTextBox" runat="server" Label="Login:" Width="125px" />
<br/>
<telerik:RadTextBox ID="PasswordRadTextBox" runat="server" TextMode="Password" Label="Hasło:"/>
<asp:Button ID="LoginButton" Text="Zaloguj" runat="server" />
<br />
<asp:LinkButton ID="ResetPasswordButton" Text="Resetuj hasło" runat="server"  />

<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
    <Windows>
        <telerik:RadWindow ID="SelectPersonDialog" runat="server" Behaviors="Close" InitialBehavior="None"
            Modal="True" Title="Wybierz użytkownika" VisibleStatusbar="false" VisibleTitlebar="true" 
            NavigateUrl="/Restricted/Modal/SelectPersonToLogin.aspx" />
    </Windows>
</telerik:RadWindowManager>
    
<asp:EntityDataSource ID="MerchEntityDataSource" runat="server" ConnectionString="name=MerchModelEntities"
    DefaultContainerName="MerchModelEntities" EntitySetName="Role">
</asp:EntityDataSource>
